Jung Hoo-Lee and Rafael Devers hit back-to-back home runs, and Robbie Ray struck out eight over 6.1 innings as the San Francisco Giants defeated the Atlanta Braves 7-2.